FROM nginx:stable-alpine
MAINTAINER linyz

ENV LANG C.UTF-8
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
    && echo "Asia/Shanghai" > /etc/timezone

RUN rm -rf /etc/nginx/conf.d/default.conf

ADD default.conf /etc/nginx/conf.d/

COPY /dist /usr/share/nginx/html

EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
